<h1>Step 1: Directories Preparation</h1>

<table class="path-check">
    <tr><th>Directories</th><th>Exist</th><th>Writable</th></tr>
    <?php foreach ($paths as $directory => $path): ?>
    <tr>
        <td><?php echo $directory; ?></td>
        <td class="path-exist">
            <?php if ($this->isPathExist($path)): ?>
                <span class="ok">Yes</span>
            <?php else: ?>
                <span class="fail">No</span>
            <?php endif; ?>
        </td>
        <td class="path-writable">
            <?php if ($this->isPathWritable($path)): ?>
                <span class="ok">Yes</span>
            <?php else: ?>
                <span class="fail">No</span>
            <?php endif; ?>
        </td>
    </tr>
    <?php endforeach; ?>
</table>

<div class="path-check-done">
    Directories setup done.
</div>

<div class="buttons">
<a href="<?php echo $this->continueUrl; ?>">Continue</a>
</div>